
            <?php
            if(1==$layout )
            {?>
       <div class="tbtj">
            <h2><div class="com_tit" style="width:230px;">推荐视频<span>RECOMMENDED FOR YOU</span></div></h2>
            <h3>chinese</h3>
            <div class="tbtj_box">
            <?php   //
            foreach($chinVideos as $video)
            {
                $image = $video->getSnapshot_big();
                if($image == null || $image == "")
                    $image = sfConfig::get("app_no_image");
                echo "<div class='tbtj_list'>
                 <div class='tbtj_list_l'>".link_to("<img src='".$image."' />","video/detail?videoId=".$video->getVideo_id()," target='_blank'")."</div>
                 <div class='tbtj_list_r'>
                   <h4>".link_to($video->getTitle(),"video/detail?videoId=".$video->getVideo_id()," target='_blank'")."</h4>
                   <p>".$video->getArtist()."</p>
                   <p>".date('Y.m.d',strtotime($video->getPublish_time()))."</p>

                 </div>
              </div>";
            }
            ?>
              <div class="latest_news_more"><a href="#" target="_blank">MORE</a></div>
            </div>
            <!--************-->
            <h3>K-POP</h3>
            <div class="tbtj_box">
                         <?php     //
            foreach($kpopVideos as $video)
            {
                $image = $video->getSnapshot_big();
                if($image == null || $image == "")
                    $image = sfConfig::get("app_no_image");
                echo "<div class='tbtj_list'>
                 <div class='tbtj_list_l'>".link_to("<img src='".$image."' />","video/detail?videoId=".$video->getVideo_id()," target='_blank'")."</div>
                 <div class='tbtj_list_r'>
                   <h4>".link_to($video->getTitle(),"video/detail?videoId=".$video->getVideo_id()," target='_blank'")."</h4>
                   <p>".$video->getArtist()."</p>
                   <p>".date('Y.m.d',strtotime($video->getPublish_time()))."</p>

                 </div>
              </div>";
            }
            ?>
              <div class="latest_news_more"><a href="#" target="_blank">MORE</a></div>
            </div>
            <!--************-->
            <h3>J-POP</h3>
            <div class="tbtj_box">
                            <?php  //
            foreach($jpopVideos as $video)
            {
                $image = $video->getSnapshot_big();
                if($image == null || $image == "")
                    $image = sfConfig::get("app_no_image");
                echo "<div class='tbtj_list'>
                 <div class='tbtj_list_l'>".link_to("<img src='".$image."' />","video/detail?videoId=".$video->getVideo_id()," target='_blank'")."</div>
                 <div class='tbtj_list_r'>
                   <h4>".link_to($video->getTitle(),"video/detail?videoId=".$video->getVideo_id()," target='_blank'")."</h4>
                   <p>".$video->getArtist()."</p>
                   <p>".date('Y.m.d',strtotime($video->getPublish_time()))."</p>

                 </div>
              </div>";
            }
            ?>
              <div class="latest_news_more"><a href="#" target="_blank">MORE</a></div>
            </div>
            <!--************-->
            <h3>WESTERN</h3>
            <div class="tbtj_box">
            <?php     //
            foreach($westVideos as $video)
            {
                $image = $video->getSnapshot_big();
                if($image == null || $image == "")
                    $image = sfConfig::get("app_no_image");
                echo "<div class='tbtj_list'>
                 <div class='tbtj_list_l'>".link_to("<img src='".$image."' />","video/detail?videoId=".$video->getVideo_id()," target='_blank'")."</div>
                 <div class='tbtj_list_r'>
                   <h4>".link_to($video->getTitle(),"video/detail?videoId=".$video->getVideo_id()," target='_blank'")."</h4>
                   <p>".$video->getArtist()."</p>
                   <p>".date('Y.m.d',strtotime($video->getPublish_time()))."</p>

                 </div>
              </div>";
            }
            ?>
              <div class="latest_news_more"><a href="#" target="_blank">MORE</a></div>
            </div>
            <!--************-->
         </div>
            <?php
            }
            else if(2==$layout ){?>
             <div class="hot_vod tj_vod">
            <h2><div class="com_tit" style="width:200px;">推荐视频<span></span></div></h2>
                    <?php //402页面右上
                foreach($Videos as $video)
                {
                    $image = $video->getSnapshot_big();
                    if($image == null || $image == "")
                        $image = sfConfig::get("app_no_image");
                   echo "<div class='vod_list'>
               <div class='vod_img'>".link_to("<img src='".$image."' />","video/detail?videoId=".$video->getVideo_id()," target='_blank'")
                           ."</div><div class='vod_text'><h3>".link_to($video->getTitle(),"video/detail?videoId=".$video->getVideo_id()," target='_blank'")."</h3>
                  <div class='vod_detail'>".$video->getArtist()."</div>
                  <p>发布时间　".date('Y.m.d',strtotime($video->getPublish_time()))."</p>

			   </div>
			  </div>";
                    }
                ?>
             </div>
            <?php
            }else{ //402右下 ?>
                 <div class="tbtj sp_tj">
            <h2><div class="com_tit" style="width:230px;">视频推荐<span>RECOMMENDED VIEDOS</span></div></h2>
            <div class="tbtj_box">
            <?php
              foreach($Videos as $video)
              {
                   $image = $video->getSnapshot_big();
                   if($image == null || $image == "")
                       $image = sfConfig::get("app_no_image");
                   echo "<div class='tbtj_list'>
                 <div class='tbtj_list_l'>".link_to("<img src='".$image."' />","video/detail?videoId=".$video->getVideo_id()," target='_blank'")
                           ."</div>
                 <div class='tbtj_list_r'>
                   <h4>".link_to($video->getTitle(),"video/detail?videoId=".$video->getVideo_id()," target='_blank'")."</h4>
                   <p class='font3'>《".$video->getArtist()."》</p>

                 </div>
              </div>";
                    }
            ?>
            </div>
         </div>
            <?php }
            ?>

